home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / Snippets / Development Tools & Languages / AEGestalt / UAEDocument.h < prev    next >
Encoding:
Text File  |  1995-02-05  |  1.5 KB  |  78 lines  |  [TEXT/MPS ]

  1. //     UAEDocument.h
  2. //     Copyright © 1991-92 by Apple Computer, Inc. All rights reserved.
  3. //    Kent Sandvik DTS
  4. //    This file contains the TAEDocument class, the basic TDocument
  5. //    class used in the application.
  6. //
  7. //    <1>        khs        1.0        First final version
  8.  
  9.  
  10. #ifndef __UAEDOCUMENT__
  11. #define __UAEDOCUMENT__
  12.  
  13. //    INCLUDE FILES
  14. #ifndef __UAEGESTALT__
  15. #include "UAEGestalt.h"
  16. #endif
  17.  
  18. #ifndef __UINFORMATIONVIEW__
  19. #include "UInformationView.h"
  20. #endif
  21.  
  22. #ifndef __ULABELVIEW__
  23. #include "ULabelView.h"
  24. #endif
  25.  
  26. #ifndef __ULOOKUPCOMMAND__
  27. #include "ULookupCommand.h"
  28. #endif
  29.  
  30. #ifndef __UAECLIENTCOMMAND__
  31. #include "UAEClientCommand.h"
  32. #endif
  33.  
  34. //    FORWARDING
  35. class TLabelView;
  36. class TInformationView;
  37.  
  38.  
  39. //    CLASSES
  40. DeclareClassDesc(TAEDocument);
  41.  
  42. class TAEDocument : public TDocument
  43. {
  44.  
  45.     DeclareClass(TAEDocument);
  46.  
  47. public:
  48.     TAEDocument();
  49.     virtual void IAEDocument();
  50.     virtual void Free();
  51.  
  52.     virtual void DoMakeViews(Boolean        /*forPrinting*/);
  53.     virtual void DoEvent(EventNumber eventNum,
  54.                                 TEventHandler* source,
  55.                                 TEvent* event);
  56.  
  57.  
  58.     virtual void GetAEGestaltAddress(AEAddressDesc&);
  59.  
  60.     virtual void DoSetupMenus();
  61.     virtual void DoMenuCommand(CommandNumber theNumber);
  62.  
  63.     virtual void ReadConfiguration(Configuration*);
  64.     virtual void ProcessAEInformation();
  65.  
  66.     //    FIELDS
  67.     TLabelView* fLabelView;
  68.     TInformationView* fInfoView;
  69.     TStaticText* fInfoField;
  70.     TButton* fFindButton;
  71.     TButton* fReportButton;
  72.     AEAddressDesc fAEGestaltAddress;
  73.     Configuration* fConfigurationInfo;
  74.     Boolean fOKNode;
  75. };
  76.  
  77. #endif
  78.